# @Author   :   hany
# @Time      :  2021/5/13
from basic.UIParent import UIParent
from basic.utils.asserts import asserts
from commen.page.ann.myPage import myPage
from commen.page.ann.tsyhPage import tsyhPage


class TsyhCase(UIParent):

    @classmethod
    def test_01CreditIndex(self):
        '''天使用户首页用户名称校验'''

        myPage.loginByStatu()
        tsyhPage.clickTsyh()
        getText = tsyhPage.getTsyhText()
        asserts.true(getText,"天使用户首页用户名称校验")